package com.itfenghuang.day06;

import java.util.Arrays;
import java.util.Random;

public class A04_Random {

    /**
     * 1.构造方法 : public Random()创建对象
     */
    public static void main(String[] args) {
        Random random = new Random();
        byte[] bys={10,1};
        for (int i = 0; i < 14; i++) {
           random.nextBytes(bys);

        }
        System.out.println(Arrays.toString(bys));
    }


}
